/* Universal and broad styles */
body {
  background:black;
}

a {
  font-size: 28px;
}

p {
  font-size: 22px;
  color: rgb(253, 153, 240);
}
/* Header Styling Section */
header {
  margin: auto;
}

header h1 {
  width: 100%;
  padding: 50px;
  margin: auto;
  color: rgb(255, 134, 245);
  font-size: 60px;
  text-align: center;
}
/* Quick Links to Specific Spots on my Page */
.links {
  display: flex;
}

.links {
  width:100%;
  padding-top: 15px;
  margin: auto;
  color: rgb(238, 128, 248);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 20px;
}

.links ul {
  list-style-type: none;
  display: inline-block;
  margin: 0 auto;
}

.links ul li {
  display: inline-block;
  margin-left: 25px;
}
/* Styling for Biography Section */
.bioArea {
  display: flex;
  height: 300px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: white;
  background-image: url(https://www.informationng.com/wp-content/uploads/2016/05/l_119938_063446_updates.jpg);
  background-repeat: no-repeat;
  background-size: auto;
  background-color: black;
  padding: 0 5%;
}
.bioArea h2 {
  min-width: 20%;
  border-right: 5px solid white;
  margin: 15px;
  text-align: right;
  padding-right: 15px;
}

.bioArea div {
  padding-left: 15px;
  margin: 15px;
  font-style: bold;
  min-width: 75%;
}
/* Styling for Project section */
.work {
  display: flex;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: white;
  background-color: black;
  padding: 20px 5%;
}

.work h2 {
  min-width: 20%;
  border-right: 5px solid white;
  margin: 15px;
  text-align: right;
  padding-right: 15px;
}

.work .content {
  min-width: 75%;
  margin: 15px;
}
.projects {
  display: flex;
  flex-wrap: wrap;
}

.projects .project a{
  background-color: aqua;
  display: inline-block;
  width: 100%;
  height: 100%;
  position: relative;
}

.projects a:hover div {
opacity: .6;
background-color:orange;
}

.projects div {
  background-color: rgb(178, 231, 231);
  height: 40%;
  font-size: 20px;
  position: absolute;
  bottom: 20px;
}

.projects li {
  list-style-type: none;
}

.projects li {
  width: 40%;
  height: 300px;
  margin: 5px;
}
.projects .project.project1 {
  height: 300px;
  width: 825px;
  align-self: center;
}

.project div {
    width: 30%;
    padding-left: 15px;
    margin-left: 15px;
    font-style: bold;
    margin-bottom: 30px;
}
  
  /* Background images for A tags. I was originally planning to use different background images */

.projects .project.project1 a {
  background-image: url(https://cdn.pixabay.com/photo/2015/11/19/08/52/banner-1050629__340.jpg);
}

.projects .project.project2 a {
  background-image: url(https://cdn.pixabay.com/photo/2015/11/19/08/52/banner-1050629__340.jpg);
}

.projects .project.project3 a {
  background-image: url(https://cdn.pixabay.com/photo/2015/11/19/08/52/banner-1050629__340.jpg);
}

.projects .project.project4 a {
  background-image: url(https://cdn.pixabay.com/photo/2015/11/19/08/52/banner-1050629__340.jpg);
}

.projects .project.project5 a {
  background-image: url(https://cdn.pixabay.com/photo/2015/11/19/08/52/banner-1050629__340.jpg);
}
/* Styling for ContactMe Section */
.contact {
  display: flex;
  width: 100%;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: white;
  background-color: black;
  padding: 20px 5%;
}

.contact h2 {
  min-width: 18%;
  margin: 15px;
  padding-right: 15px;
  border-right: 5px solid white;
  text-align: right;
}

.contact nav {
  padding-top: 15px;
  margin: auto;
  color: rgb(253, 153, 240);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 20px;
}

.contact nav ul {
  list-style-type: none;
  display: flex;
}

.contact nav ul li {
  display: inline;
  margin-left: 25px;
  white-space:nowrap;
}
.contact nav ul li a{
  white-space:nowrap;
}

/* Styling for Footer Section */
Footer {
  text-align: center;
  font-size: 40px;
  color: black;
}
/*Media Query for formatiing on different viewports */

@media (max-width: 700px) {
    .links li {
       flex-direction: column; 
    }
} 
@media (max-width: 700px) {
  .bioArea {
    flex-direction: column;
  }
  .bioArea h2 {
    text-align: center;
    min-width: 90%;
    margin: 15px auto;
    border-right: none;
    border-bottom: 5px solid white;
  }
  .work {
    flex-direction: column;
  }
  .work h2 {
    text-align: center;
    min-width: 90%;
    margin: 15px auto;
    border-right: none;
    border-bottom: 5px solid white;
  }
  .project div{
    width:90%;
  }
}

@media (max-width: 600px) {
  .projects li {
    width: 90%;
    margin: 15px auto;
  }
}

@media (max-width: 1100px) {
  .contact {
    flex-direction: column;}
    .contact ul{
      flex-direction: column;
      flex-wrap: wrap;}
    .contact ul li{
      width: 100%;
      text-align: center;
    }

  .contact h2 {
    text-align: center;
    min-width: 90%;
    margin: 15px auto;
    border-right: none;
  }
}
